package com.javaweb.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.javaweb.admin.entity.KdlQffAttach;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.List;

public interface KdlQffAttachMapper extends BaseMapper<KdlQffAttach> {

    @Update("update kdl_qff_attach set status=#{status} where id=#{id}")
    void updateDownloadStatus(Integer id,String status);

    @Select("select * from kdl_qff_attach where qffno=#{qffno}")
    List<KdlQffAttach> getAttachList(String qffno);
}
